package edu.ccut.saturn.component.impl;

import edu.ccut.saturn.component.IAuthorityResourceInfo;

public class SaturnResourceInfo implements IAuthorityResourceInfo { 

	private String resourceKey;

	private String name;

	private String value;

	private String description;

	public SaturnResourceInfo(String key, String name, String value,
			String description) {

		this.description = description;
		this.name = name;
		this.resourceKey = key;
		this.value = value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#getResourceKey()
	 */
	public String getResourceKey() {
		return resourceKey;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#setResourceKey(java.lang.String)
	 */
	public void setResourceKey(String resourceKey) {
		this.resourceKey = resourceKey;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#getName()
	 */
	public String getName() {
		return name;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#setName(java.lang.String)
	 */
	public void setName(String name) {
		this.name = name;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#getValue()
	 */
	public String getValue() {
		return value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#setValue(java.lang.String)
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#getDescription()
	 */
	public String getDescription() {
		return description;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see edu.ccut.saturn.component.impl.IResourceInfo#setDescription(java.lang.String)
	 */
	public void setDescription(String description) {
		this.description = description;
	}
}
